import axios from "axios";

const requests = axios.create({
    // baseURL:"http://39.106.79.173/",
    baseURL:"http://localhost:8080/",
    timeout:3000
})
// const requests = axios.create({
//     baseURL:"http://192.168.126.128:8080",
//     timeout:3000
// })
requests.interceptors.response.use(res=>{
    return res.data
})

export default requests